Remote Playback API: move tests that can be moved to WPT. The ones that can't be moved have been annotated. BUG=688228 R=foolip@chromium.org Review-Url: https://codereview.chromium.org/2677563003 Cr-Commit-Position: refs/heads/master@{#448968} 
diff --git a/remote-playback/disable-remote-playback-prompt-throws.html b/remote-playback/disable-remote-playback-prompt-throws.html new file mode 100644 index 0000000..7ddc2ad --- /dev/null +++ b/remote-playback/disable-remote-playback-prompt-throws.html 
@@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> +<title>Test that calling prompt() when disableRemotePlayback attribute is set throws an exception</title> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script src="/common/media.js"></script> +<script> +promise_test(t => { + var v = document.createElement('video'); + v.src = getVideoURI('movie_5'); + v.disableRemotePlayback = true; + + return promise_rejects(t, 'InvalidStateError', v.remote.prompt()); +}, 'Test that calling prompt() when disableRemotePlayback attribute is set throws an exception.'); +</script> +</html>